Skip to content

Conversation

NoureldinYosri
Copy link
Contributor

@NoureldinYosri NoureldinYosri commented Apr 1, 2025

Second PR in the series for reproducing https://arxiv.org/abs/1905.09749
followup to #1602

@NoureldinYosri
Copy link
Contributor Author

NoureldinYosri commented Apr 1, 2025

@mpharrigan I'm not sure whether this should be bloq or a shim.. if we make it a bloq it will be a good application of your classical control design, what do you think?

@mpharrigan
Copy link
Collaborator

Yes, the decomposition requires measurement / feedback, so depends on having that functionality merged. That shouldn't block committing a placeholder with just call graph / resource counts

Comment on lines +41 to +43
Args:
bitsize: Size of the input register to apply QFT on.
is_adjoint: Whether to apply QFT or QFT†.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we usually put Args first

is_adjoint: Whether to apply QFT or QFT†.

References:
[Semiclassical Fourier Transform for Quantum Computation, Griffiths & Niu](https://arxiv.org/abs/quant-ph/9511007)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you follow the standard reference format https://qualtran.readthedocs.io/en/latest/Autodoc.html#references

[title](url).
author. 2000. Fig x.


[Implementation of the Semiclassical Quantum Fourier Transform in a Scalable System](https://www.science.org/doi/10.1126/science.1110335)

[stackexchange answer, Gidney](https://quantumcomputing.stackexchange.com/a/23712)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use the stack exchange title as the title

Comment on lines +61 to +62
t = ssa.new_symbol('t')
return {Hadamard(): self.bitsize, Measure(): self.bitsize, Rz(t): self.bitsize - 1}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants